<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>数据加系数计算系统</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    {% block styles %}
    <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
    {% endblock %}
</head>
<body>

<div class="container">
        <br>
        <br>
        <h5 class="col-md-6 offset-md-3">数据加系数计算系统</h5>
<br>
        <form method="post" enctype="multipart/form-data">
        {{ form1.csrf_token }}
        <div class="col-md-4 offset-md-3 ">
            {{ form1.item_code.label }}<br>
            {{ form1.item_code }}<br>
            {% if form1.item_code.errors %}
            {% for message in form1.item_code.errors %}
            <small class="error" style="color: red">{{ message }}</small><br>
            {% endfor %}
            {% endif %}

            <br>

        {{ form1.excel_data(class='input-group-btn') }}<br>
        {% if form1.excel_data.errors %}
            {% for message in form1.excel_data.errors %}
            <small class="error" style="color: red">{{ message }}</small><br>
            {% endfor %}
            {% endif %}

        </div>


        <br>
        <div class="col-md-2 offset-md-3 ">
        {{ form1.submit(class='btn btn-success btn-lg btn-block')}}
        </div>
        <br>




    </form>
</div>
<a href="{{ url_for('coef') }}" class="col-md-6 offset-md-3">获取校准系数</a>
</body>
</html>


